<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/pages/common/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="./css/public.css" media="all" />
	<title>客户端系统配置</title>
</head>
<body class="childrenBody">
<div  class="layui-container" style="width: 90%;margin-top: 30px;">
	<form class="layui-form">
		<table class="layui-table mag0">
			<colgroup>
				<col width="25%">
				<col width="45%">
				<col>
		    </colgroup>
		    <thead>
		    	<tr>
		    		<th>参数说明</th>
		    		<th>参数值</th>
		    		<th>变量名</th>
		    		<th>参数说明</th>
		    	</tr>
		    </thead>
		    <tbody>
		    	<tr>
		    		<td>XMPP 主机 host</td>
		    		<td>
		    			<input type="text" class="layui-input XMPPHost" lay-verify="required" placeholder="请输入XMPP主机域名或者ip">
		    		</td>
		    		<td>XMPPHost</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>XMPP 虚拟域名</td>
		    		<td>
		    			<input type="text" class="layui-input XMPPDomain" lay-verify="required" placeholder="请输入XMPP主机域名或者ip">
		    		</td>
		    		<td>XMPPDomain</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>接口URL</td>
		    		<td><input type="text" class="layui-input apiUrl" placeholder=""></td>
		    		<td>apiUrl</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>头像下载URL</td>
		    		<td><input type="text" class="layui-input downloadAvatarUrl" placeholder=""></td>
		    		<td>downloadAvatarUrl</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>资源下载URL</td>
		    		<td><input type="text" class="layui-input downloadUrl" placeholder=""></td>
		    		<td>downloadUrl</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>资源上传URL</td>
		    		<td><input type="text" class="layui-input uploadUrl" placeholder=""></td>
		    		<td>uploadUrl</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>视频服务器URL</td>
		    		<td><input type="text" class="layui-input jitsiServer" placeholder=""></td>
		    		<td>jitsiServer</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>直播服务器URL</td>
		    		<td><input type="text" class="layui-input liveUrl" placeholder=""></td>
		    		<td>liveUrl</td>
		    		<td></td>
		    	</tr>
				<tr>
					<td>短视频拍摄上限时长</td>
					<td><input type="text" class="layui-input videoLength" placeholder="" onblur="funVideoLength()"></td>
					<td>videoLength </td>
					<td>秒为单位</td>
				</tr>
				<tr>
					<td>IOS应用AppleId</td>
					<td><input type="text" class="layui-input appleId" placeholder=""></td>
					<td>appleId </td>
					<td></td>
				</tr>
				<tr>
					<td>公司下载页网址</td>
					<td><input type="text" class="layui-input website" placeholder=""></td>
					<td>website</td>
					<td>公司下载页网址,用于生成二维码链接</td>
				</tr>
				<tr>
					<td>头部导航栏背景图</td>
					<td><input type="text" class="layui-input headBackgroundImg" placeholder=""></td>
					<td>headBackgroundImg</td>
					<td>发现页的顶部导航图</td>
				</tr>
				<tr>
		    		<td>是否开放IOS零钱</td>
		    		<td>
       				 	<select class="layui-input-inline displayRedPacket">
          					<option value="1">开启</option>
  							<option value="0">关闭</option>
        				</select>

		    		</td>
		    		<td>displayRedPacket</td>
		    		<td></td>
		    	</tr>


		    	<tr>
					<td>启用模块</td>
					<td>
						<div class="layui-form-item" pane="">

							<div class="layui-input-block">

								<input name="enablePayModule" class="enablePayModule" lay-skin="primary" title="支付模块" type="checkbox" lay-filter="startModules">
								<input name="enableMpModule" class="enableMpModule" lay-skin="primary" title="公众号模块" type="checkbox" lay-filter="startModules">
								<input name="enableOpenModule" class="enableOpenModule" lay-skin="primary" title="开放平台模块" type="checkbox" lay-filter="startModules">

							</div>
						</div>
					</td>
					<td>enable**Module</td>
					<td>勾选需要启用的模块</td>
		    	</tr>


				<tr>
					<td>是否开启客户端UI</td>
					<td>
						<select class="layui-input-inline isOpenUI">
							<option value="1">开启</option>
							<option value="0">关闭</option>
						</select>
					</td>
					<td>isOpenUI</td>
					<td></td>
				</tr>


		    	<tr>
		    		<td>是否启用已读消息回执</td>
		    		<td>
		    			<select class="layui-input-inline isOpenReadReceipt">
		    				<option value="1">开启</option>
		    				<option value="0">关闭</option>
		    			</select>
		    		</td>
		    		<td>isOpenReadReceipt</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>启用手机联系人</td>
		    		<td>
		    			<select class="layui-input-inline showContactsUser">
          					<option value="1">开启</option>
  							<option value="0">关闭</option>
        				</select>
		    		</td>
		    		<td>showContactsUser</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>是否开启注册</td>
		    		<td>
		    			<select class="layui-input-inline isOpenRegister">
          					<option value="1">开启</option>
  							<option value="0">关闭</option>
        				</select>
		    		</td>
		    		<td>isOpenRegister</td>
		    		<td></td>
		    	</tr>
				<tr>
					<td>是否开启好友搜索功能</td>
					<td>
						<select class="layui-input-inline hideSearchByFriends">
							<option value="1">开启</option>
							<option value="0">关闭</option>
						</select>

					</td>
					<td>hideSearchByFriends</td>
					<td></td>
				</tr>

				<tr>
					<td>是否开启普通用户搜索好友</td>
					<td>
						<select class="layui-input-inline isCommonFindFriends">
							<option value="0">开启</option>
							<option value="1">关闭</option>
						</select>

					</td>
					<td>isCommonFindFriends</td>
					<td></td>
				</tr>

				<tr>
					<td>是否开启普通用户创建群组</td>
					<td>
						<select class="layui-input-inline isCommonCreateGroup">
							<option value="0">开启</option>
							<option value="1">关闭</option>
						</select>

					</td>
					<td>isCommonCreateGroup</td>
					<td></td>
				</tr>

				<tr>
					<td>是否开启群组搜索</td>
					<td>
						<select class="layui-input-inline isOpenRoomSearch">
							<option value="0">开启</option>
							<option value="1">关闭</option>
						</select>

					</td>
					<td>isOpenRoomSearch</td>
					<td></td>
				</tr>

				<tr>
					<td>是否开启位置相关服务</td>
					<td>
						<select class="layui-input-inline isOpenPositionService">
							<option value="0">开启</option>
							<option value="1">关闭</option>
						</select>

					</td>
					<td>isOpenPositionService</td>
					<td></td>
				</tr>

				<tr>
					<td>IOS推送平台</td>
					<td>
						<select class="layui-input-inline isOpenAPNSorJPUSH">
							<option value="0">APNS 推送</option>
							<option value="1">极光推送_开发版</option>
							<option value="2">极光推送_生产版</option>
						</select>

					</td>
					<td>isOpenAPNSorJPUSH</td>
					<td>IOS极光推送需要区分证书类型，开发版即开发证书打的包反之。</td>
				</tr>

				<tr>
					<td>APP热门应用界面展示项</td>
					<td>
						<div class="layui-form-item" pane="">
							<!--<label class="layui-form-label">原始复选框</label> checked="" -->
							<div class="layui-input-block">
								<input name="lifeCircle" class="lifeCircle" lay-skin="primary" title="生活圈" type="checkbox" lay-filter="appCheckbox">
								<input name="videoMeeting" class="videoMeeting" lay-skin="primary" title="视频会议" type="checkbox" lay-filter="appCheckbox">
								<input name="liveVideo" class="liveVideo" lay-skin="primary" title="视频直播" type="checkbox" lay-filter="appCheckbox">
								<input name="shortVideo" class="shortVideo" lay-skin="primary" title="短视频" type="checkbox" lay-filter="appCheckbox">
								<input name="peopleNearby" class="peopleNearby" lay-skin="primary" title="附近的人" type="checkbox" lay-filter="appCheckbox">
								<input name="scan" class="scan" lay-skin="primary" title="扫一扫" type="checkbox" lay-filter="appCheckbox">
							</div>
						</div>
					</td>
					<td>popularAPP</td>
					<td>热门应用动态展示</td>
				</tr>

				<!--<tr>
					<td>公司名称</td>
					<td><input type="text" class="layui-input companyName" placeholder=" "></td>
					<td pc>companyName</td>
					<td></td>
				</tr>

				<tr>
					<td>版权信息</td>
					<td><input type="text" class="layui-input copyright" placeholder=" "></td>
					<td pc>copyright</td>
					<td></td>
				</tr>-->

		    	<tr>
		    		<td>Android最新版本号</td>
		    		<td><input type="text" class="layui-input androidVersion" placeholder=" "></td>
		    		<td>androidVersion</td>
		    		<td><br>示例：101，对应版本号1.0.1</br></td>
		    	</tr>
		    	<tr>
		    		<td>Android最新下载URL</td>
		    		<td><input type="text" class="layui-input androidAppUrl" placeholder=" "></td>
		    		<td>androidAppUrl</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>Android更新说明</td>
		    		<td><input type="text" class="layui-input androidExplain" placeholder=" "></td>
		    		<td>androidExplain</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>IOS最新版本号</td>
		    		<td><input type="text" class="layui-input iosVersion" placeholder=" "></td>
		    		<td>iosVersion</td>
		    		<td><br>示例：101，对应版本号1.0.1</br></td>
		    	</tr>
		    	<tr>
		    		<td>IOS最新下载URL</td>
		    		<td><input type="text" class="layui-input iosAppUrl" placeholder=" "></td>
		    		<td>iosAppUrl</td>
		    		<td></td>
		    	</tr>
		    	<tr>
		    		<td>IOS更新说明</td>
		    		<td><input type="text" class="layui-input iosExplain" placeholder=" "></td>
		    		<td>iosExplain</td>
		    		<td></td>
		    	</tr>
				<tr>
					<td>PC最新版本号</td>
					<td><input type="text" class="layui-input pcVersion" placeholder=" "></td>
					<td>pcVersion</td>
					<td><br>示例：101，对应版本号1.0.1</br></td>
				</tr>
				<tr>
					<td>PC最新下载URL</td>
					<td><input type="text" class="layui-input pcAppUrl" placeholder=" "></td>
					<td>pcAppUrl</td>
					<td></td>
				</tr>
				<tr>
					<td>PC更新说明</td>
					<td><input type="text" class="layui-input pcExplain" placeholder=" "></td>
					<td>pcExplain</td>
					<td></td>
				</tr>
				<tr>
					<td>MAC最新版本号</td>
					<td><input type="text" class="layui-input macVersion" placeholder=" "></td>
					<td>macVersion</td>
					<td><br>示例：101，对应版本号1.0.1</br></td>
				</tr>
				<tr>
					<td>MAC最新下载URL</td>
					<td><input type="text" class="layui-input macAppUrl" placeholder=" "></td>
					<td>macAppUrl</td>
					<td></td>
				</tr>
				<tr>
					<td>MAC更新说明</td>
					<td><input type="text" class="layui-input macExplain" placeholder=" "></td>
					<td>macExplain</td>
					<td></td>
				</tr>
		    	<tr>
		    		<td>Android禁用版本号</td>
		    		<td><input type="text" class="layui-input androidDisable" placeholder=" "></td>
		    		<td>androidDisable</td>
		    		<td>凡低于此版本号的禁用<br>示例：5.1.0</br></td>
		    	</tr>
		    	<tr>
		    		<td>IOS禁用版本号</td>
		    		<td><input type="text" class="layui-input iosDisable" placeholder=" "></td>
		    		<td>iosDisable</td>
		    		<td>凡低于此版本号的禁用<br>示例：5.1.0</br></td>
		    	</tr>
		    	<tr>
		    		<td>PC禁用版本号</td>
		    		<td><input type="text" class="layui-input pcDisable" placeholder=" "></td>
		    		<td>pcDisable</td>
		    		<td>凡低于此版本号的禁用<br>示例：5.1.0</br></td>
		    	</tr>
		    	<tr>
		    		<td>Mac禁用版本号</td>
		    		<td><input type="text" class="layui-input macDisable" placeholder=" "></td>
		    		<td>macDisable</td>
		    		<td>凡低于此版本号的禁用<br>示例：5.1.0</br></td>
		    	</tr>
		    </tbody>
		 </table>
		 <div class="magt10 layui-center">
			<div class="layui-input-block" style="margin-left: 0px">
				<button class="layui-btn save" lay-submit="" lay-filter="systemConfig">保存</button>
		    </div>
		</div>
	</form>

</div>
<script type="text/javascript" src="/pages/common/layui/layui.js"></script>
<script type="text/javascript" src="/pages/common/jquery/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="/pages/assets/js/jquery.md5.js"></script>
<script type="text/javascript" src="./js/common.js"></script>
<script type="text/javascript" src="./js/clientConfig.js"></script>
</body>
</html>